package org.fanximall.erp.product.domain.aggregate;

import lombok.AccessLevel;
import lombok.Builder;
import lombok.Data;
import lombok.Setter;
import org.fanximall.erp.common.ddd.AggregateRoot;
import org.fanximall.erp.product.domain.dto.AttributeItemPageQueryDTO;
import org.fanximall.erp.product.domain.model.AttributeItemModel;
import org.fanximall.erp.product.domain.model.AttributeValueModel;

import java.util.List;


/**
 * @author :  william
 * @version :  V1.0  created in 2024/4/23
 * 属性聚合根
 */
@Data
@Builder
@Setter(AccessLevel.PRIVATE)
public class Attribute implements AggregateRoot {

    /**
     * 属性项
     */
    private AttributeItemModel attributeItemModel;

    /**
     * 属性值
     */
    private List<AttributeValueModel> attributeValueModel;




}
